using System;
using System.Runtime.Serialization;
namespace eTMS.DAO{
	/********************************BEGIN TrangThaiKHEntity****************************************/
	///<summary>
	/// <para>Author: Auto generated class by CSharp Code Generator v2.0</para>
	/// <para>Date:27/10/2011 56:03:12</para>
	/// <para>Class Name: TrangThaiKHEntity</para>
	/// <para>Description: ClassTrangThaiKHEntity store data of table TrangThaiKH</para>
	///</summary>

	[DataContract]
	public partial class TrangThaiKHEntity{


		private bool _InternalChangedIsNullTrangThaiKH_ID=true;
		private bool _IsNullTrangThaiKH_ID=true;
		private bool _InternalChangedIsNullTenTrangThaiKH=true;
		private bool _IsNullTenTrangThaiKH=true;
		private bool _InternalChangedIsNullGhiChu=true;
		private bool _IsNullGhiChu=true;
		private int _TrangThaiKH_ID;
		private string _TenTrangThaiKH;
		private string _GhiChu;
		[DataMember]
		public bool IsNullTrangThaiKH_ID{
			get{return _IsNullTrangThaiKH_ID;}
			set{if(!_InternalChangedIsNullTrangThaiKH_ID)_IsNullTrangThaiKH_ID=value;}
		}
		[DataMember]
		public bool IsNullTenTrangThaiKH{
			get{return _IsNullTenTrangThaiKH;}
			set{if(!_InternalChangedIsNullTenTrangThaiKH)_IsNullTenTrangThaiKH=value;}
		}
		[DataMember]
		public bool IsNullGhiChu{
			get{return _IsNullGhiChu;}
			set{if(!_InternalChangedIsNullGhiChu)_IsNullGhiChu=value;}
		}
		[DataMember]
		public int TrangThaiKH_ID{
			get{return _TrangThaiKH_ID;}
			set{
				_TrangThaiKH_ID=value;
				if(_TrangThaiKH_ID!=null){
					_IsNullTrangThaiKH_ID=false;
					_InternalChangedIsNullTrangThaiKH_ID=true;
				}
			}
		}
		[DataMember]
		public string TenTrangThaiKH{
			get{return _TenTrangThaiKH;}
			set{
				_TenTrangThaiKH=value;
				if(_TenTrangThaiKH!=null){
					_IsNullTenTrangThaiKH=false;
					_InternalChangedIsNullTenTrangThaiKH=true;
				}
			}
		}
		[DataMember]
		public string GhiChu{
			get{return _GhiChu;}
			set{
				_GhiChu=value;
				if(_GhiChu!=null){
					_IsNullGhiChu=false;
					_InternalChangedIsNullGhiChu=true;
				}
			}
		}
	}
	/*****************************************************************************************************/
	/**********************************END TrangThaiKHEntityBase*****************************************/
	/*****************************************************************************************************/
}

